package com.atgm.mall.gmmallclub.dao;

import com.atgm.mall.gmmallclub.entity.ArticleEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ArticleDao extends BaseMapper<ArticleEntity> {

    Integer increaseThumbsCountById(@Param("id") Long id);

    Integer reduceThumbsCountById(@Param("id") Long id);

    Integer increaseCollectCountById(@Param("id") Long id);

    Integer reduceCollectCountById(@Param("id") Long id);
}
